package com.wkh.maker.template.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author wangkehua
 * 模板文件的配置
 */
@Data
public class TemplateMakerFileConfig {
    private List<FileInfoConfig> files;

    private FileGroupConfig fileGroupConfig;
    @Data
    @NoArgsConstructor
    public static class FileInfoConfig {
        private String path;
        private String condition;
        //文件过滤列表
        private List<FileFilterConfig> filterConfigList;
    }

    /**
     * 分组配置
     */
    @Data
    @NoArgsConstructor
    public static class FileGroupConfig {
        private String condition;
        private String groupName;
        private String groupKey;
    }
}
